package com.ruoyi.project.NH.farmer.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 农户基本信息对象 base_family_member_info
 * 
 * @author 狗熊岭
 * @date 2023-07-24
 */
public class Farmer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String idCard;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer relationship;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String phone;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer familyType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String nationality;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer educationDegree;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String studentStatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer healthCondition;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer laborSkill;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer povertyCause;


    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date registrationTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer natVillage;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer state;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal area;


    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setFid(String fid)
    {
        this.fid = fid;
    }

    public String getFid()
    {
        return fid;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setRelationship(Integer relationship)
    {
        this.relationship = relationship;
    }

    public Integer getRelationship()
    {
        return relationship;
    }
    public void setNationality(String nationality)
    {
        this.nationality = nationality;
    }

    public String getNationality()
    {
        return nationality;
    }
    public void setEducationDegree(Integer educationDegree)
    {
        this.educationDegree = educationDegree;
    }

    public Integer getEducationDegree()
    {
        return educationDegree;
    }
    public void setStudentStatus(String studentStatus)
    {
        this.studentStatus = studentStatus;
    }

    public String getStudentStatus()
    {
        return studentStatus;
    }
    public void setHealthCondition(Integer healthCondition)
    {
        this.healthCondition = healthCondition;
    }

    public Integer getHealthCondition()
    {
        return healthCondition;
    }
    public void setLaborSkill(Integer laborSkill)
    {
        this.laborSkill = laborSkill;
    }

    public Integer getLaborSkill()
    {
        return laborSkill;
    }
    public void setPovertyCause(Integer povertyCause)
    {
        this.povertyCause = povertyCause;
    }

    public Integer getPovertyCause()
    {
        return povertyCause;
    }
    public void setRegistrationTime(Date registrationTime)
    {
        this.registrationTime = registrationTime;
    }

    public Date getRegistrationTime()
    {
        return registrationTime;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public Integer getNatVillage() {
        return natVillage;
    }
    public void setNatVillage(Integer natVillage) {
        this.natVillage = natVillage;
    }

    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getFamilyType() {
        return familyType;
    }
    public void setFamilyType(Integer familyType) {
        this.familyType = familyType;
    }

    public BigDecimal getArea() {
        return area;
    }
    public void setArea(BigDecimal area) {
        this.area = area;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("fid", getFid())
                .append("name", getName())
                .append("idCard", getIdCard())
                .append("relationship", getRelationship())
                .append("nationality", getNationality())
                .append("educationDegree", getEducationDegree())
                .append("studentStatus", getStudentStatus())
                .append("healthCondition", getHealthCondition())
                .append("laborSkill", getLaborSkill())
                .append("povertyCause", getPovertyCause())
                .append("registrationTime", getRegistrationTime())
                .append("state", getState())
                .append("natVillage", getNatVillage())
                .append("phone", getPhone())
                .append("familyType", getFamilyType())
                .append("area", getArea())
                .toString();
    }

}
